from browsertests.tools.tests_updater import MozillaMochitests, MozillaReftests, SVNSource, MercurialSource

TESTS_REPO_URL = "ssh://browsertests@browsertests/hg/tests_imported/tests"
TESTS_REPO_TYPE = "hg"

sources = []

sources.append(MozillaMochitests(
    repourl="http://hg.mozilla.org/mozilla-central",
    objdir="/home/browsertests/prod/slaves/linux_maint/build-moz/build/objdir",
))

sources.append(MozillaReftests(
    repourl="http://hg.mozilla.org/mozilla-central",
    dest="mozilla",
))

sources.append(SVNSource(
    description="WebKit Layouttests",
    repourl="http://svn.webkit.org/repository/webkit/trunk/LayoutTests",
    # TODO: use this directory instead.
    #dest="webkit/LayoutTests",
    dest="LayoutTests",
    excludes=["platform"],
))

sources.append(SVNSource(
    description="Chrome Layouttests",
    repourl="http://src.chromium.org/svn/trunk/src/webkit/data/layout_tests",
    dest="chromium",
    excludes=["platform"],
))

sources.append(SVNSource(
    description="BrowserTests tests",
    repourl="http://browsertests.googlecode.com/svn/trunk/tests",
    dest="",
))
